package com.ttxs.common.feign;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "ttxs.feign.header")
public class FeignHeaderProperties {
    /**
     * 通过feign传递的header列表
     */
    private List<String> includes = new ArrayList<>();
    /**
     * 通过feign排除的header列表
     */
    private List<String> excludes = new ArrayList<>();

    public List<String> getIncludes() {
        return includes;
    }

    public void setIncludes(List<String> includes) {
        this.includes = includes;
    }

    public List<String> getExcludes() {
        return excludes;
    }

    public void setExcludes(List<String> excludes) {
        this.excludes = excludes;
    }
}
